﻿using System.Collections.Generic;

namespace RegexSharp.Core
{
    public class Snippet
    {
        public string Name = string.Empty;
        public string Value = string.Empty;
        public List<Snippet> Subs = new List<Snippet>(0);

        public Snippet()
        { }

        public Snippet(string name)
        {
            Name = name;
        }

        public Snippet(string name, string value)
        {
            Name = name;
            Value = value;
        }
    }
}
